<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>编辑家庭病房</title>
    <script th:src="@{js/jquery-1.11.0.min.js}"></script>
    <style type="text/css">
        #contentWrapper {
            width: 100%;
            height: 100%;
            position: relative;
        }
        #contentLeft {
            z-index: 10;
            width: 250px;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background-color: #283c51;
        }
        #contentRight {
            padding: 1.3rem 2rem;
            margin-left: 250px;
        }
        #leftNavigation {
            margin: 2rem 0;
        }
        #leftNavigation, #leftNavigation li ul {
            list-style: none;
            padding: 0;
        }
        #leftNavigation li a {
            font-size: 0.875rem;
            display: block;
            padding: 0.1rem 1rem 0.8rem 3rem;
            color: #adadad;
            border-bottom: solid 1px #395673;
            text-overflow: ellipsis;
            overflow: hidden;
            position: relative;
            -webkit-transition: color 0.2s ease;
            transition: color 0.2s ease;
        }

        #leftNavigation li a:hover {
            color: white;
        }
        #leftNavigation li ul {
            display: none;
            margin: 0;
            background-color: #17232f;
        }
        #leftNavigation li ul li a {
            border-bottom: solid 1px #233547;
        }
        #leftNavigation li ul li:last-child a {
            border-bottom: none;
        }
        #leftNavigation li ul li.active a {
            color: white;
        }
        #leftNavigation li.active > a {
            color: white;
        }
        #leftNavigation li.active ul {
            display: block;
        }
        #leftNavigation > li.active {
            background-color: #427c97;
        }
        #patientInfo{
            color: #427c97;
            font-size: 30px;
            font-weight: bold;
            position: relative;
            top:10px;
            height: 50px;
        }
        .button {
            margin: 10px 5px;
            padding: 8px 13px;
            border-radius: 10px;
            border: 2px solid;
            font: 16px 'Open Sans', sans-serif;
            text-transform: uppercase;
            background: none;
            outline: none;
            cursor: pointer;
            -webkit-transition: all .5s;
            transition: all .5s;
            float: right;
            top:6px;
        }
        .btn-3 {
            color: #427c97;
            border-color: #427c97;
            position: relative;
            overflow: hidden;
        }
        .btn-3:before {
            content: "";
            position: absolute;
            top: 0;
            right: -5px;
            width: 0;
            height: 100%;
            background-color: #427c97;
            z-index: -1;
            -webkit-transition: all .5s;
            transition: all .5s;
        }
        .btn-3:hover {
            color: #27323A;
        }
        .btn-3:hover:hover:before {
            width: 110%;
        }
        #divcss5{
            position: relative;
            left: 150px;
            line-height: 50px;
        }
        .blue{
            color: #427c97;
            font-size: 18px;
        }
        input{
            border: 1px solid #427c97;
            border-radius: 10px;
            outline: none;
            height: 20px;
            width: 150px;
        }

    </style>
</head>
<body>
<div id="contentWrapper">
    <div id="contentLeft">
        <ul id="leftNavigation">
            <li class="active">
                <a> 药品管理</a>
                <ul>
                    <li><a href="/DrugInStorage" id="drug">药品入库</a></li>
                    <li><a href="/DrugAdmin" id="pharmadmin">药品管理</a></li>
                </ul>
            </li>
            <li class="active">
                <a> 病例管理</a>
                <ul>
                    <li><a href="/addPatient" id="addPatient">添加患者</a></li>
                    <li><a href="/patientAdmin" id="patientAdmin">管理患者</a></li>
                </ul>
            </li>
            <li class="active">
                <a>患者接待</a>
                <ul>
                    <li><a href="/receptionMain" id="patientRecive">患者接待</a></li>
                    <li><a href="/toPay" id="receipt">收款</a></li>
                    <li><a href="/toTake" id="getMedicine">取药</a></li>
                </ul>
            </li>
            <li class="active">
                <a>系统管理</a>
                <ul>
                    <li><a href="/addUser" id="addAdmin">添加管理员</a></li>
                    <li><a href="/UserAdmin" id="admin">管理用户</a></li>
                </ul>
            </li>
            <li class="active">
                <a> 家庭病房管理</a>
                <ul>
                    <li><a href="/addHome" id="addHome">添加家庭病房</a></li>
                    <li><a href="/HomeAdmin" id="HomeAdmin">管理家庭病房</a></li>
                </ul>
            </li>
            <li class="active">
                <a>报表统计</a>
                <ul>
                    <li><a href="/itemChart" id="drugStatistics"> 药品统计</a></li>
                    <li><a href="/patientChart" id="patientStatistics">患者统计</a></li>
                    <li><a href="/logChart" id="moneyStatistics">收款金额统计</a></li>
                </ul>
            </li>
        </ul>
    </div>
    <div id="contentRight">
        <div class="title">
            <label id="patientInfo">家庭病房信息信息</label>
            <button class="button btn-3" data-button="#2980b9" form="edit">编辑</button>
        </div>
        <h1></h1>
        <hr size="3px" noshade=true color="#427c97">
        <div class="form" id="divcss5">
            <form action="/editHome" method="post" id="edit">
                <label class="blue">家庭病房编号：</label>
                <input type="text" name="homeNo" th:value="${home.getHomeNo()}" readonly=”readonly”>
                <br/>
                <label class="blue">患者姓名：</label>
                <input type="text" name="homeName" th:value="${home.getHomeName()}">
                <br/>
                <label class="blue">电话：</label>
                <input type="text" name="homePhone" th:value="${home.getHomePhone()}">
                <br/>
                <label class="blue">地址：</label>
                <input type="text" name="homeAddress" th:value="${home.getHomeAddress()}">
                <br/>
                <label class="blue">每周上门次数：</label>
                <input type="text" name="homeRemarks" th:value="${home.getHomeRemarks()}">
                <br/>
                <label class="blue" >病情：</label>
                <input type="text" name="homeRemarks2" th:value="${home.getHomeRemarks2()}"></input>
                <br/>
                <label class="blue">注意事项：</label>
                <input type="text" name="homeRemarks3" th:value="${home.getHomeRemarks3()}"></input>
                <br/>
                <label class="blue">用药说明：</label>
                <input type="text" name="homePer"  th:value="${home.getHomePer()}"></input>
                <br/>
            </form>
        </div>
    </div>
</div>
</div>

</body>
</html>